package com.oreilly.ez.fileserver.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BaseService<T> {

    void add(T t);
    void deleteByIds(String[] ids);
    void update(T t);
    Page<T> find(T t, Pageable pageable);
    T findById(String id);
}
